﻿using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Transactions;
using Newtonsoft.Json;
using T.FAS.Runtime.Base.Entity;
using T.ServiceComponent.DAC.Service;
using System.Reflection;
using System.Data;

namespace T.FAS.Runtime.Base.Dao
{
    public class ExprLogDao : DaoService<ExprLog>
    {
        public override string TableName => "FAS_ExprLog";
        public override string IDColumnName => "ID";
        public ExprLogDao() : base()
        {
            DBName = "TFAS";
        }
        public override List<string> ExceptColumnName => new List<string> { };
        public override Dictionary<string, object> GetDataMapping(ExprLog data)
        {
            var datas = base.GetDataMapping(data);
            return datas;
        }
        public override ExprLog ConvertToObject(Dictionary<string, PropertyInfo> columns, DataRow row)
        {
            var myCol = new Dictionary<string, PropertyInfo>(base.Columns);
            var data = base.ConvertToObject(myCol, row);
            return data;
        }
    }
}
